package main

import (
	"gitee.com/masaichi/mastool/timeutils"
	"log"
)

func main() {
	//字符串转unix
	timeStr, _ := timeutils.TimeStrToUnix("2024-05-17 17:00:00")
	log.Printf("time:%d", timeStr)
	//unix 转字符串
	timeString := timeutils.UnixToTimeStr(1769032000)
	log.Printf("time:%s", timeString)
	log.Printf("today:%s", timeutils.GetTodayTimeStr())
}
